package com.itheima.service;

import com.itheima.domain.User;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Author 王加鑫
 * @Date 2021/7/22 22:46
 * @Since JDK 1.9
 */
@Service
public interface UserService {

    public void save(User user);

    public void update(User user);

    public void delete(Integer id);

    public User findById(Integer id);

    public List<User> findAll();
}
